import { ref } from "vue";
import { defineStore } from "pinia";
export const typeStrStore = defineStore(
  "typeStr",
  () => {
    const typeStr = ref('件');
    const setTypeStr = (str) => {
      typeStr.value = str ? '件' : '万'
    }
    return {
      typeStr,
      setTypeStr
    };
  },
);